package com.tbit.uqbike.webmanager.dao.capital;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tbit.config.datasource.DataSource;
import com.tbit.uqbike.object.pojo.ArrearsLog;
import com.tbit.uqbike.object.pojo.dto.ArrearsLogDTO;
import com.tbit.uqbike.object.pojo.vo.ArrearsLogDetailSumVO;
import com.tbit.uqbike.object.pojo.vo.ArrearsLogDownLoadVo;

import java.util.List;

/**
 * @Author:BUGTian
 * @DATE: 2022/11/15
 */
@DS(DataSource.CAPITAL)
public interface ArrearsLogDao extends BaseMapper<ArrearsLog> {
    /**
     * 查询欠款明细统计数据
     *
     * @param arrearsLogDTO
     * @return
     */
    ArrearsLogDetailSumVO querySum(ArrearsLogDTO arrearsLogDTO);

    List<ArrearsLogDownLoadVo> selectArrearsLogDownLoadVoList(Integer brandId, List<Integer> accountIdList, Long startTime, Long endTime, Integer dataType, Integer makeUpType, String userPhone, String businessNO);
}
